package com.xydtech.system.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * <dd>描述: ~ 贷款计算器信息对象 sys_loan_calculator</dd>
 * <dd>创建时间：  9:49 2024/1/20</dd>
 * <dd>创建人： yuzhiguo</dd>
 * <dt>版本历史: </dt>
 * Date         Author         Version     Description
 * ------------------------------------------------------------------
 * 2024/1/20     yuzhiguo         1.0        1.0 Version
 */
public class SysLoanCalculator extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商户类型：1：个人；2：个体工商户 */
    @Excel(name = "商户类型")
    private String merchantType;

    /** 小程序类型：1：电子名片；2：合伙人 */
    @Excel(name = "小程序类型")
    private String appletType;

    /** 归属法人 */
    private Long deptId;

    /** 归属法人 */
    @Excel(name = "归属法人")
    private String deptName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMerchantType(String merchantType)
    {
        this.merchantType = merchantType;
    }

    public String getMerchantType()
    {
        return merchantType;
    }

    public String getAppletType() {
        return appletType;
    }

    public void setAppletType(String appletType) {
        this.appletType = appletType;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("merchantType", getMerchantType())
                .append("appletType", getAppletType())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .toString();
    }
}
